package com.share.netty.im.session;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caifan
 * @createTime 2020/5/17
 * @desc:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Session {
    //用户唯一标识
    private String userId;
    private String username;

    @Override
    public String toString() {
        return "Session{" +
                "userId='" + userId + '\'' +
                ", username='" + username + '\'' +
                '}';
    }
}
